package com.tky.conference.entity;

import com.tky.conference.Tree.TreeNodeId;
import com.tky.conference.Tree.TreeNodeLabel;
import com.tky.conference.Tree.TreeNodePid;

/**
 * Created by yy on 2015/12/18.
 */
public class TreeBean {
    @TreeNodeId
    private int id;
    @TreeNodePid
    private int pid;
    @TreeNodeLabel
    private String name;


    public TreeBean(int id, int pid,String name) {
        this.id = id;
        this.name = name;
        this.pid = pid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }
}
